﻿using PCBase.UIControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_ExcTR
    {
        [DisplayName("1.X轴"), Description()]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_ExcTR_X X { get; set; } = new PRM_ExcTR_X();

        [DisplayName("2.Z轴"), Description()]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_ExcTR_Z Z { get; set; } = new PRM_ExcTR_Z();

        [DisplayName("3.R轴"), Description()]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_ExcTR_R R { get; set; } = new PRM_ExcTR_R();

        public override string ToString()
        {
            return "...";
        }
    }
    public class PRM_ExcTR_Rec
    {
        [DisplayName("ExcTR_Z倒膜点"), ReadOnly(true)]
        public double ExcTR_Z_Exchange { get; set; } = 0;

        public override string ToString()
        {
            return "...";
        }
    }
    public class PRM_ExcTR_X
    {
        [DisplayName("01.倒膜点"), ReadOnly(true)]
        public double Exchange { get; set; } = 0;

        [DisplayName("02.载出点"), ReadOnly(true)]
        public double Unload { get; set; } = 0;

        [DisplayName("03.翻转点"), ReadOnly(true)]
        public double Flip { get; set; } = 0;

        [DisplayName("04.待命点"), ReadOnly(true)]
        public double Wait { get; set; } = 0;

        public override string ToString()
        {
            return "...";
        }
    }

    public class PRM_ExcTR_Z
    {
        [DisplayName("01.待命点"), ReadOnly(true)]
        public double Wait { get; set; } = 0;

        [DisplayName("02.载入点"), ReadOnly(true)]
        public double Load { get; set; } = 0;

        [DisplayName("03.载出点"), ReadOnly(true)]
        public double Unload { get; set; } = 0;

        [DisplayName("04.拔模点"), ReadOnly(true)]
        public double ExchangeUp { get; set; } = 0;
        public override string ToString()
        {
            return "...";
        }
    }

    public class PRM_ExcTR_R
    {
        [DisplayName("01.取放料点"), ReadOnly(true)]
        public double Load { get; set; } = 0;

        [DisplayName("02.倒膜点"), ReadOnly(true)]
        public double Exchange { get; set; } = 0;

        public override string ToString()
        {
            return "...";
        }
    }
}
